package com.qipay.msg;

import com.qipay.baas.model.Message;

import java.util.List;

public interface MessageService {
    int insert(Message msg);
    List<Message> selectUnReadByUid(int uid);
    List<Message> selectPageByUid(int uid,int p,int pz);
    long countByReceiveId(int uid);
    int updateReadedStatusByUid(int uid);
}
